// 代码标签的目标字符串

const str = console.log`hello world`

const name ='tom'
const sex = 'man'

function myTagFunc(strings, name, sex) {
    // console.log(strings, name, sex)
    // return 123
    return strings[0] + name + strings[1] + sex
}

const results = myTagFunc`hello, ${name} is a ${sex}`
console.log(results)